package com.hx.jeeadminbase.db.utils;
/** 
 * @Author: xinmiao.xu
 * @Emial: louis_hsu@yeah.net
 * @CreateDate: 2015年2月6日 下午3:41:44
 * @Description: Myabtis调用存储过程函数参数封装
 */
public class CallParam {
	public static String VARCHAR = "VARCHAR";
	public static String DECIMAL = "DECIMAL";
	public static String NUMERIC = "NUMERIC";
	public static String DATE = "DATE";
	public static String TIMESTAMP = "TIMESTAMP";
	public static String CURSOR = "CURSOR";

	private String paramName;
	private Object paramValue;
	private String paramType;

	/**
	 * 存储过程函数查询方法
	 * @param paramName 参数名称
	 * @param paramValue 参数值
	 * @param paramType 参数类型
	 */
	public CallParam(String paramName, Object paramValue, String paramType) {
		super();
		this.paramName = paramName;
		this.paramValue = paramValue;
		this.paramType = paramType;
	}
	
	public CallParam(String paramName, String paramType) {
		super();
		this.paramName = paramName;
		this.paramType = paramType;
	}

	public String getParamName() {
		return paramName;
	}

	public Object getParamValue() {
		return paramValue;
	}

	public String getParamType() {
		return paramType;
	}
}
